package com.cherish.pattern.proxy.dynamicproxy.cglib;

import com.cherish.pattern.proxy.model.Girl;

import java.lang.reflect.Method;

/**
 * @Classname TestCglibMeiPo
 * @Date 2019/4/7 17:47
 * @Author admin
 * @Description TODO
 */
public class TestCglibMeiPo {

    public static void main(String[] args) throws Throwable{
        Object o  = new CgLibMeiPo().getInstants(Girl.class);
        Method method = o.getClass().getMethod("findLove",null);
        method.invoke(o);

    }

}
